package com.company.project.common.config;

import com.company.project.common.redismq.ZSetVer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class InitCommandLineRunner implements CommandLineRunner {
    @Autowired
    private ZSetVer zSetVer;

    @Override
    public void run(String... args) throws Exception {
        log.info("实现CommandLineRunner接口的程序初始化");
        String id = "id";
//        zSetVer.consumerDelayMessage(id);
    }
}
